package com.erp.pur.service;

import com.erp.pur.domain.GroupDetialDO;

import java.util.List;
import java.util.Map;

/**
 * 采购明细表
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-07-15 18:09:09
 */
public interface GroupDetialService {
	
	GroupDetialDO get(Long id);
	
	List<GroupDetialDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GroupDetialDO groupDetial);
	
	int update(GroupDetialDO groupDetial);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    List<GroupDetialDO> getGrooupInfos(Long groupid);

	List<GroupDetialDO> getGroupDetilInfoProid(Long proid, Long groupid);

    int updateOutQty(Long groupId, Long skuid, Integer outQty);
}
